<div class="sign">
	<div class="box">
		<div class="sign_in {{is_sign_up&&'focus'}}">
			<div class="item">
				<input placeholder="用户名/手机号" bind-input="{{'$Cache.sign_in.name'}}" value="{{$Cache.sign_in.name}}" type="text" />
			</div>
			<div class="item">
				<input placeholder="密码" event-enter="{{'$Event.sign_in.login'}}" bind-input="{{'$Cache.sign_in.password'}}" value="{{$Cache.sign_in.password}}" type="password" />
			</div>
			<div class="item">
				<button event-click="{{'$Event.sign_in.login'}}">登陆</button>
			</div>
			<div class="item">
				<a event-click="{{'$Event.change_sign'}}">
					新用户注册
				</a>
			</div>
		</div>
		<div class="sign_up {{is_sign_up||'focus'}}">
			<div class="item">
				<input bind-input="{{'$Cache.sign_up.mobile_phone'}}" value="{{$Cache.sign_up.mobile_phone}}" placeholder="请输入手机号" type="text" />
			</div>
			<div class="item">
				<input bind-input="{{'$Cache.sign_up.password'}}" value="{{$Cache.sign_up.password}}" placeholder="请输入密码" type="password" />
			</div>
			<div class="item">
				<input bind-input="{{'$Cache.sign_up.phone_code'}}" value="{{$Cache.sign_up.phone_code}}" placeholder="请输入手机验证码" type="text" />
			</div>
			<div class="code">
				{{#if getcode}}
					<a class="checkcode focus">
						{{remaining}}秒后重新获取验证码
					</a>
				{{#else}}
				<a class="checkcode" event-click="{{'$Event.getcheckcode'}}" event-click-getcode="{{'$Event.sign_up.get_register_code'}}" event-enter="{{'$Event.sign_up.register'}}">
					点击获取手机验证码
				</a>
				{{/if}}
			</div>
			<div class="item">
				<button event-click="{{'$Event.sign_up.register'}}">注册</button>
			</div>
			<div class="item">
				<a event-click="{{'$Event.change_sign'}}">
					已有账号，去登陆
				</a>
			</div>
		</div>
	</div>
</div>
<link rel="stylesheet" type="text/css" href="/css/catering/mobile_sign.css" />